package org.yn.shopping.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.yn.base.domain.BaseDomain;


import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 
 * </p>
 *
 * @author yn
 * @since 2023-08-30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ShoppingCart extends BaseDomain{

    private static final long serialVersionUID = 1L;

    /**
     * 购物车id

     */
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    private Long carId;
    private Integer quantity;
    private Long orderId;
    /**
     * 选中状态  0 未选中 ,1选中
     */
    private Integer state;


}
